//
// Created by baixin on 2025/8/22.
//
#include "iostream"
#include "windows.h"
using namespace std;

// 默认参数
void stuInfo(string name = "", int age = 18, double score = 60);

int main() {
    SetConsoleOutputCP(CP_UTF8);
    stuInfo("白鑫");
    stuInfo("白鑫", 20, 29);
}

void stuInfo(string name, int age, double score) {
    cout << "姓名:" << name << " 年龄: " << age << " 分数: " << score << endl;
}
